from bottle import Bottle, response
from bottle_cors_plugin import cors_plugin

other_app = Bottle()

other_app.install(cors_plugin("*"))


@other_app.get("/list")
def user_list():
    response.content_type = "application/json"
    return {"data": "我是后端通过API传递来的"}
